package net.csdn.business.kanban.common.domain.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName Kanban
 * @Description TODO
 * @Author liuzhisheng
 * @Date 2023/9/14
 **/
@NoArgsConstructor
@AllArgsConstructor
@Data
public class KanbanResp implements Serializable {
    @Schema(name = "object_id", description = "映射ID")
    private String objectId;

    @Schema(name="org_id",description = "组织ID")
    private String orgId;

    @Schema(name="kanban_name",description = "看板名称")
    private String kanbanName;

    @Schema(name="description",description = "描述")
    private String description;

    @Schema(name="is_public",description = "可见性：true:public false:private")
    private Boolean isPublic;

    @Schema(name="status",description = "状态：0:close 1:open")
    private Integer status;

    @Schema(name="created_at",description = "创建时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    @Schema(name="updated_at",description = "更新时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;

    /** 审核状态 */
    @Schema(name="audit_status",description = "审核状态")
    private Integer auditStatus;
}
